class B {
int x = 100,y=200;
public void setX (String args[]){
x=x;
}
public void setY (String args[]){
this.y=y;
}
public int getXYSum(){
return x+y;
}
}
public class A2{
public static void main (String args[]){
B b=new B();
b.setX( - 100);
b.setY( - 200);
System.out.println("sum="+b.getXYSum());
}
}